package com.zzyl.nursing.domain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
/**
 * 老人和家人中间表对象 elder_family
 * @author chenxin
 * @date 2025-08-05
 */
@Schema(description = "老人和家人中间表")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ElderFamily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Schema(title = "主键ID")
    private Long id;

    /** 老人ID */
    @Schema(title = "老人ID")
    @Excel(name = "老人ID")
    private Long elderId;

    /** 家人ID */
    @Schema(title = "家人ID")
    @Excel(name = "家人ID")
    private Long familyMemberId;

    /** 老人身份证 */
    @Schema(title = "老人身份证")
    @Excel(name = "老人身份证")
    private String idCard;

    /** 老人姓名 */
    @Schema(title = "老人姓名")
    @Excel(name = "老人姓名")
    private String name;

    @Schema(title = "称呼")
    private String remark;

}